//
//  UserEntity.h
//  SXH
//
//  Created by 房 国生 on 15/7/16.
//  Copyright (c) 2015年 lyss. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
	"id":"1",
	"nickname":"137****0436",
	"album":"/host/folder/xxx.jpg",
	"signature":"xxxx",
	"birthday":"2015-07-08 15:49:36",
	"attentionCount":"1",
	"fansCount":"0",
	"goodCount":"1"
 */
@interface UserEntity : NSObject

@property (nonatomic, strong) NSString *userId;
@property (nonatomic, strong) NSString *userAlbum;
@property (nonatomic, strong) NSString *nickName;
@property (nonatomic, strong) NSString *signature;
@property (nonatomic, strong) NSString *birthday;
@property (nonatomic, strong) NSString *attentionCount;
@property (nonatomic, strong) NSString *fansCount;
@property (nonatomic, strong) NSString *goodCount;
@property (nonatomic, strong) NSString *sex;
@property (nonatomic, strong) NSString *cityName;
@property (nonatomic, strong) NSString *isVip;
@property (nonatomic, strong) NSString *flag;
@property (nonatomic, strong) NSNumber *attention_flag;
@property (nonatomic, strong) NSString *followed;
@property (nonatomic, strong) NSString *session_id;

@property (nonatomic, assign) BOOL isCircle;
@property (nonatomic,assign) BOOL login;

+ (UserEntity*)sharedInstance;
- (instancetype)initWithAttributes:(NSDictionary *)attributes;
- (void) deepCopy:(UserEntity *)sender;
- (id)initWithCoder:(NSCoder *)decoder;
- (void)encodeWithCoder:(NSCoder *)encoder;
- (void)cleanData;
@end
